package com.wdl.modules.myhouse.security.common;

/**
 * @author 昏昏的君
 */
public interface SecurityConstant {
    /**
     * 存入jwt的claim的key名字
     */
    String TOKEN_FIELD = "UID";
    Integer JWT_TIME_OUT = 1;


    String TOKEN_SIGN = "TOKE";
    /**
     * 留在前端cookie中的token属性名
     */
    String TOKEN_COOKIE_NAME = "MY_HOUSE";
    Integer TOKEN_TIMEOUT = 6;
    String TOKEN_REDIS_NAME="REDIS_KEY";



    //   账户锁定
    Integer ACCOUNT_LOCKED = 1;
    Integer ACCOUNT_UNLOCKED = 0;
    //    凭证过期
    Integer CERTIFICATE_EXPIRED = 1;
    Integer CERTIFICATE_UNEXPIRED = 0;
    //    账户可用
    Integer ACCOUNT_ENABLED = 1;
    Integer ACCOUNT_UNAVILABLE = 0;
    //    账户过期
    Integer ACCOUNT_EXPIRED = 1;
    Integer ACCOUNT_UNEXPIRED = 0;
}
